package group2assignone.model;

/**
 * models a Person
 * @author group2
 */
public class Person {

    protected String username;
    protected String password;
    protected String fName;
    protected String lName;
    protected String dob;

    /**
     * initialises person with empty fields
     */
    public Person() {
        username = ""; //Initialise variables
        password = ""; //Initialise variables
        fName = "";
        lName = "";
        dob = "";
    }

    /**
     * getter for username
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * setter for username
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * getter for password
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * setter for password
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * getter for first name
     * @return first name
     */
    public String getFName() {
        return fName;
    }

    /**
     * setter for first name
     * @param fName
     */
    public void setFName(String fName) {
        this.fName = fName;
    }

    /**
     * getter for last name
     * @return last name
     */
    public String getLName() {
        return lName;
    }

    /**
     * setter for last name
     * @param lName
     */
    public void setLName(String lName) {
        this.lName = lName;
    }

    /**
     * getter for date of birth
     * @return date of birth
     */
    public String getDob() {
        return dob;
    }

    /**
     * setter for date of birth
     * @param dob
     */
    public void setDob(String dob) {
        this.dob = dob;
    }
}